﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="DangkyKhControl.ascx.cs" Inherits="DangkyKhControl" %>
<style type="text/css">
    
    .style1
    {
        width: 53px;
    }
    
</style>

<table width="100%">
    <tr>
        <td align="center" colspan="3">
            Trang Khách Hàng Đăng Ký</td>
    </tr>
    <tr>
        <td align="right">
            <asp:Label ID="Label1" runat="server" Text="Tài Khoản:"></asp:Label>
        </td>
        <td>
            <asp:TextBox ID="txtId" runat="server" Width="200px"></asp:TextBox>
        </td>
        <td class="style1">
            <asp:CustomValidator ID="CustomValidator1" runat="server" 
                ControlToValidate="txtId" Display="Dynamic" ErrorMessage="*" ForeColor="Red" 
                ValidateEmptyText="True"></asp:CustomValidator>
        </td>
    </tr>
    <tr>
        <td align="right">
            <asp:Label ID="Label2" runat="server" Text="Mật Khẩu:"></asp:Label>
        </td>
        <td>
            <asp:TextBox ID="txtPass" runat="server" Width="200px" TextMode="Password"></asp:TextBox>
        </td>
        <td class="style1">
            <asp:CustomValidator ID="CustomValidator7" runat="server" 
                ControlToValidate="txtPass" Display="Dynamic" ErrorMessage="*" ForeColor="Red" 
                ValidateEmptyText="True"></asp:CustomValidator>
        </td>
    </tr>
    <tr>
        <td align="right">
            <asp:Label ID="Label5" runat="server" Text="Nhập Lại Mật Khẩu:"></asp:Label>
        </td>
        <td>
            <asp:TextBox ID="txtConfirmPass" runat="server" Width="200px" TextMode="Password"></asp:TextBox>
        </td>
        <td class="style1">
            <asp:CustomValidator ID="CustomValidator8" runat="server" 
                ControlToValidate="txtConfirmPass" Display="Dynamic" ErrorMessage="*" 
                ForeColor="Red" ValidateEmptyText="True"></asp:CustomValidator>
        </td>
    </tr>
    <tr>
        <td align="right">
            <asp:Label ID="Label3" runat="server" Text="Họ Tên:"></asp:Label>
        </td>
        <td>
            <asp:TextBox ID="txtHoten" runat="server" Width="200px"></asp:TextBox>
        </td>
        <td class="style1">
            <asp:CustomValidator ID="CustomValidator9" runat="server" 
                ControlToValidate="txtHoten" Display="Dynamic" ErrorMessage="*" ForeColor="Red" 
                ValidateEmptyText="True"></asp:CustomValidator>
        </td>
    </tr>
    <tr>
        <td align="right">
            <asp:Label ID="Label4" runat="server" Text="Địa Chỉ:"></asp:Label>
        </td>
        <td>
            <asp:TextBox ID="txtDiachi" runat="server" Width="200px"></asp:TextBox>
        </td>
        <td class="style1">
            <asp:CustomValidator ID="CustomValidator10" runat="server" 
                ControlToValidate="txtDiachi" Display="Dynamic" ErrorMessage="*" 
                ForeColor="Red" ValidateEmptyText="True"></asp:CustomValidator>
        </td>
    </tr>
    <tr>
        <td align="right">
            <asp:Label ID="Label6" runat="server" Text="Số Điện Thoại:"></asp:Label>
        </td>
        <td>
            <asp:TextBox ID="txtSodt" runat="server" Width="200px"></asp:TextBox>
        </td>
        <td class="style1">
            <asp:CustomValidator ID="CustomValidator11" runat="server" 
                ControlToValidate="txtSodt" Display="Dynamic" ErrorMessage="*" ForeColor="Red" 
                ValidateEmptyText="True"></asp:CustomValidator>
        </td>
    </tr>
    <tr>
        <td align="right">
            &nbsp;</td>
        <td>
            <asp:ValidationSummary ID="ValidationSummary1" runat="server" ForeColor="Red" />
        </td>
        <td class="style1">
            &nbsp;</td>
    </tr>
    <tr>
        <td align="right">
            <asp:Button ID="btnReset" runat="server" style="margin-left: 0px" Text="Hủy" 
                Width="74px" />
        </td>
        <td>
            <asp:Button ID="btnRegister" runat="server" onclick="btnRegister_Click" 
                Text="Đăng Ký" />
        </td>
        <td class="style1">
            &nbsp;</td>
    </tr>
</table>

